package com.assess.web.dao;

import com.assess.web.model.Scheme;
import com.assess.web.model.SchemeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SchemeMapper {
    long countByExample(SchemeExample example);

    int deleteByExample(SchemeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Scheme record);

    int insertSelective(Scheme record);

    List<Scheme> selectByExample(SchemeExample example);

    Scheme selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Scheme record, @Param("example") SchemeExample example);

    int updateByExample(@Param("record") Scheme record, @Param("example") SchemeExample example);

    int updateByPrimaryKeySelective(Scheme record);

    int updateByPrimaryKey(Scheme record);
}